package com.gyx.lottery.common.errorcode;

import lombok.Data;

import java.io.Serializable;

@Data
public class ErrorCode {
    //定义错误码
    private  final Integer code;
    private  final String msg;

    public ErrorCode(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
